﻿using System;
using System.Data;
using Data;

namespace IUI
{
    public interface IAdminPage
    {
        EventHandler Page_Shown
        {
            get;
            set;
        }

        #region Users stuff
        EventHandler Click_AddUserButton
        {
            get;
            set;
        }

        EventHandler Click_DelUserButton
        {
            get;
            set;
        }

        EventHandler Click_EditUserButton
        {
            get;
            set;
        }

        EventHandler Click_OkUserButton
        {
            get;
            set;
        }

        String Users_Command
        {
            get;
            set;
        }

        DataTable Users
        {
            get;
            set;
        }

        DataTable Current_User
        {
            get;
        }

        void EnableUserInputs();
        void DisableUserInputs();

        void ErrorUser();
        #endregion

        #region Songs stuff
        EventHandler Click_AddSongButton
        {
            get;
            set;
        }

        EventHandler Click_DelSongButton
        {
            get;
            set;
        }

        EventHandler Click_EditSongButton
        {
            get;
            set;
        }

        EventHandler Click_OkSongButton
        {
            get;
            set;
        } 

        String Songs_Command
        {
            get;
            set;
        }

        DataTable Songs
        {
            get;
            set;
        }

        DataTable Current_Song
        {
            get;
        }
        
        void EnableSongInputs();
        void DisableSongInputs();
        #endregion
    }
}
